﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Printing;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Wcf_Print
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IPrint
    {
        [OperationContract]
        void Ping(out string s);

        [OperationContract]
        void GetPrinters(out string s);

        [OperationContract]
        void GetOnePrinter(string sp, out string s);

        [OperationContract]
        void GetDefaultPrinter(out string s);

        [OperationContract]
        void PrintText(string jobName, string textType, string stext, string sPrintQueue, string xmlPrintTicket, out string sRet);

        [OperationContract]
        void ReturnPrintServers(out string xmlServers);
    }
}
